package galaxies;

import java.util.ArrayList;

/*
 * Holds external XML data
 */
public class CustomGalaxyData {
	
	private ArrayList<ArrayList<Double>> points = new ArrayList<ArrayList<Double>>();
	private String galaxyName;
	
	public void setName(String name) {
		this.galaxyName = name;
	}
	
	public String getName() {
		return this.galaxyName;
	}
	
	public ArrayList<ArrayList<Double>> getPoints() {
		return this.points;
	}
	
	public void addPoint(ArrayList<Double> point) {
		this.points.add(point);
	}
	
	public void setPoints(ArrayList<ArrayList<Double>> points) {
		this.points.clear();
		this.points.addAll(points);
	}

}
